![]() |
NormalizeThemeDrawingState |
||||
Header: | Appearance.h | Carbon status: | Supported | |
Sets the current graphics port to a default drawing state.
OSStatus NormalizeThemeDrawingState ();
A result code.
The NormalizeThemeDrawingState function sets the background of a graphics port to white; the pen of the port to a size of 1 pixel by 1 pixel, a pattern mode of patCopy, and a pattern of black; and the text mode of the port to srcOr. NormalizeThemeDrawingState also flushes from memory any color foreground or background patterns saved in the port’s GrafPort.pnPat or GrafPort.bkPat fields, respectively.
This function is available with Appearance Manager 1.1 and later.
Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)